export default {
	install(Vue) {
		let systemInfo = uni.getSystemInfoSync();
		let windowHeight = Vue.prototype.$u.sys().windowHeight;
		let winWidth = Vue.prototype.$u.sys().windowWidth;
		let winrate = 750/winWidth;
		let h = windowHeight - systemInfo.statusBarHeight;
		let hRpx = parseInt(winrate*h);
		Vue.prototype.$f = {
			fullHeight:h,// 去除头部高度，px
			fullHeightRpx:hRpx,// 去除头部高度，rpx
		}
	}
}

